<template>
    <div class="footer">
        <van-tabbar v-model="active" route>
  <van-tabbar-item  to="/"  icon="home-o">登录</van-tabbar-item>
  <van-tabbar-item  to="/register"  icon="search">注册</van-tabbar-item>
  <van-tabbar-item  to="/user"  icon="friends-o">我的</van-tabbar-item>

</van-tabbar>
    </div>
</template>
<script setup>
import { ref } from 'vue';
  const active = ref(0);
</script>




